﻿// 项目：	Guan.CMS.Model - Guan.CMS
// 文件名：	ProductCategory.cs
// 
// 修改时间：2013-03-09 22:54
// 修改人：	Cooclsee

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Guan.CMS.Model.Entities
{
    /// <summary>
    /// 产品类别，比如POS、收款机
    /// </summary>
    public class ProductCategory : CommonPublishedModel
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
        public int? ParentId { get; set; }
        public string MetaKeywords { get; set; }
        public string MetaDescription { get; set; }
        public string MetaTitle { get; set; }
        public string FriendlyName { get; set; }

        #region ForeignKey

        public virtual ICollection<Product> Products { get; set; }

        #endregion ForeignKey
    }
}